EmbedPress\Includes\Classes\Feature_Enhancer D

Total Complexity 383
Dependencies 8
Dependents 0
Total lines 1,603
Lines of code 1,242
Logical lines of code 600
Comment lines 76
Methods 39
Properties 1

Methods 39

Method Rating Maintainability Complexity Lines of code
gutenberg_embed()
D
19
78 160
enhance_youtube()
D
32 42 79
enhance_vimeo()
D
34 34 79
enhance_soundcloud()
C
43 30 35
embedpress_generate_social_share_meta()
C
35 27 76
enhance_wistia()
C
32 22 99
enhance_twitch()
B
42 20 38
enhance_dailymotion()
B
46 20 31
get_wistia_block_attributes()
B
44 17 41
embedpress_wistia_pro_get_options()
A
44 11 43
youtube_rest_api()
A
56 11 15
getOptions()
A
50 9 26
get_youtube_params()
A
52 9 24
isEmbra()
S
54 7 21
save_source_data()
S
61 6 11
embedpress_gutenberg_render_block_vimeo()
S
54 5 19
get_vimeo_params()
S
55 5 19
get_wistia_settings_schema()
S
44 1 60
delete_source_data()
S
62 5 10
get_youtube_settings_schema()
S
45 1 58
get_soundcloud_settings_schema()
S
48 1 48
get_vimeo_settings_schema()
S
49 1 41
__construct()
S
46 1 40
get_dailymotion_settings_schema()
S
51 1 36
enhance_missing_title()
S
56 2 20
embedpress_gutenberg_register_block_vimeo()
S
58 2 17
get_twitch_settings_schema()
S
53 1 28
save_source_data_on_post_update()
S
72 2 5
getVideoIDFromURL()
S
67 2 8
embedpress_wistia_block_after_embed()
S
58 1 15
save_el_source_data_on_post_update()
S
80 1 3
embedpress_gutenberg_register_block_youtube()
S
75 1 4
remove_classic_filters()
S
66 1 8
elementor_setting_init()
S
63 1 10
vimeoValidateUrl()
S
78 1 3
wistiaValidateUrl()
S
78 1 3
ytValidateLiveUrl()
S
78 1 3
ytValidateUrl()
S
78 1 3
delete_source_temp_data_on_reload()
S
81 1 3